| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | 'use strict'; |
||
| 12 | function reCaptchaOnloadCallback() { |
||
| 13 | var reCaptcha = document.querySelector('.g-recaptcha'); |
||
| 14 | |||
| 15 | if (reCaptcha.dataset.size === 'invisible') { |
||
| 16 | document.querySelector('#'.concat(window.ReCaptchaFormId)).addEventListener('submit', reCaptchaFormOnSubmit); |
||
| 17 | } |
||
| 18 | |||
| 19 | grecaptcha.render(reCaptcha, reCaptcha.dataset); |
||
|
|
|||
| 20 | } |
||
| 21 | |||
| 33 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.